package book.dao.impl;

import java.util.List;

import book.dao.BookDao;
import book.service.impl.BookServiceImpl;
import book.service.impl.Library_cardServiceImpl;
import book.util.Book;
import book.util.Library_card;

public class Test {
  public static void main(String[] args) {
/*	List<Book> list = new BookServiceImpl().findBookAll1();
	for (Book book : list) {
		System.out.println(book.getAuthor());
	}*/
	 // BookDao a=new BookDaoImpl();
	 /* int num=a.deletefrom(2);
	  System.out.println("成功");*/
	  /*int num=a.updateset(new Book(5,"言情", "12", "21", 4,"2", 7, 8, 7));
	  System.out.println("成功");*/
	  List<Library_card>  lylist = new Library_cardServiceImpl().findLibrary_cardAll();
		for (Library_card library_card : lylist) {
			System.out.println(library_card.getType());
}
}
}